package day10.pack8;

/*
    饿汉式:  用不用都创建了空间
 */
public class User {
    private User() {}
    private static User user = new User();
    public static User getInstance() {
        return user;
    }
}
